﻿using System;
namespace Model
{
    /// <summary>
    /// DealersManage:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class DealersManage
    {
        public DealersManage()
        { }
        #region Model
        private int _id;
        private string _dealersid;
        private string _username;
        private string _mobile;
        private DateTime? _createtime;
        private int? _dealersgrade;
        private string _userstate;
        private string _description;
        private int? _audituser;
        private DateTime? _audittime;
        private string _s_province;
        private string _s_city;
        private string _s_county;
        private decimal? _moneybalance;
        private string _discountrate;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 关联经销商—上级父经销商
        /// </summary>
        public string dealersid
        {
            set { _dealersid = value; }
            get { return _dealersid; }
        }
        /// <summary>
        /// 经销商名称
        /// </summary>
        public string username
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 经销商手机
        /// </summary>
        public string mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 关联经销商等级表DealersGrade
        /// </summary>
        public int? dealersgrade
        {
            set { _dealersgrade = value; }
            get { return _dealersgrade; }
        }
        /// <summary>
        /// 审核状态
        /// </summary>
        public string userstate
        {
            set { _userstate = value; }
            get { return _userstate; }
        }
        /// <summary>
        /// 描述备注
        /// </summary>
        public string description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? audituser
        {
            set { _audituser = value; }
            get { return _audituser; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? audittime
        {
            set { _audittime = value; }
            get { return _audittime; }
        }
        /// <summary>
        /// 省
        /// </summary>
        public string s_province
        {
            set { _s_province = value; }
            get { return _s_province; }
        }
        /// <summary>
        /// 市
        /// </summary>
        public string s_city
        {
            set { _s_city = value; }
            get { return _s_city; }
        }
        /// <summary>
        /// 区
        /// </summary>
        public string s_county
        {
            set { _s_county = value; }
            get { return _s_county; }
        }
        /// <summary>
        /// 经销商余额(门店余额)
        /// </summary>
        public decimal? moneybalance
        {
            set { _moneybalance = value; }
            get { return _moneybalance; }
        }
        /// <summary>
        /// 折扣率
        /// </summary>
        public string discountrate
        {
            set { _discountrate = value; }
            get { return _discountrate; }
        }
        #endregion Model

    }
}

